<template>
	<div>
		<Button type="info" @click="depositRecord()">depositRecord</Button>
		<Button type="info" @click="order()">order</Button>
		<Button type="info" @click="people()">people</Button>
		<Button type="info" @click="vip()">vip</Button>
	</div>
	
</template>

<script>
	import store from '../common/store.js';
	export default {
		
		data: function() {
			return {
				storeId,
			};
		},
		created: function() {
			this.$data.storeId = store.state.currentUser.MDGLY;
		},
		computed:{
			depositRecord:function() {
				this.$router.push({
					name: "shop_depositRecord",
					params: {
						storeId:this.$data.storeId,
					}
				});
				
			},
			order:function() {
				this.$router.push({
					name: "shop_order",
					params: {
						storeId:this.$data.storeId,
					}
				});
			},
			people:function() {
				this.$router.push({
					name: "shop_people",
					params: {
						storeId:this.$data.storeId,
					}
				});
			},
			vip:function() {
				this.$router.push({
					name: "shop_vip",
					params: {
						storeId:this.$data.storeId,
					}
				});
			},
		}
		
	}
</script>

<style scoped>
	

</style>
